#ifndef REPONSE_H
#define REPONSE_H

#include <QObject>
#include <QtSql>
//#include "question.h"


class Reponse : public QObject
{
    Q_OBJECT
public:
    explicit Reponse(int idRep, QObject *parent = 0);

    int getNum() const;
    void setNum(int newNum);

    int getId() const;
    void setId(int newId);

    QString getTexte() const;
    void setTexte(QString newTexte);

    class Question;
    int getQSuivante() const;
    void setQSuivante(int newQSuivante);

signals:
    
public slots:

private:
    int id;
    int num;
    QString texte;
    //Question *qSuivante;
    int qSuivante;
};

#endif // REPONSE_H
